import java.util.Scanner;

public class Text {
    public static void main(String[] args) {
        int a=0,b=0,c=0,max=0;
        Scanner scanner=new Scanner(System.in);
        a= scanner.nextInt();
        b= scanner.nextInt();
        max=max2(a,b);
        System.out.println("最大值是："+max);
        c= scanner.nextInt();
        max=max3(max,c);
        System.out.println("最大值是："+max);
    }
     public static int max2(int a,int b){
        int max=0;
        if(a>=b){
            max=a;
        }else{
            max=b;
        }
        return max;
    }
    public static int max3(int max0,int c){
        int max=max2(max0,c);
        return max;
    }

}
